/**
 * de.herberlin.sudoku.timer.AnimationEvent
 */
package de.herberlin.sudoku.timer;

import de.herberlin.sudoku.Constants;

/**
 * @author herberlin
 * @created 17.06.2006
 */
public class AnimationEvent {

	private long systemTime=Constants.LONG_NOT_SET;
	private long eventId=Constants.LONG_NOT_SET;
	/**
	 *
	 */
	public AnimationEvent() {
		super();
	}

	public AnimationEvent(long id) {
		this.eventId=id;
		this.systemTime=System.currentTimeMillis();
	}
	public long getEventId() {
		return eventId;
	}
	public void setEventId(long eventId) {
		this.eventId = eventId;
	}
	public long getSystemTime() {
		return systemTime;
	}
	public void setSystemTime(long systemTime) {
		this.systemTime = systemTime;
	}

	public String toString() {
		return "EventId="+eventId+", timestamp="+systemTime;
	}
}
